From: Keir Fraser Date: Tue, 16 Jun 2009 10:36:40 +0000 (+0100) Subject: xend: pass-through: cleanupDevice: move and remove recently added vslot entry X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~13769 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=fb8a264cd04b8b608f27096c8ee8d5f33d72defd;p=xen.git xend: pass-through: cleanupDevice: move and remove recently added vslot entry Signed-off-by: Simon Horman --- diff --git a/tools/python/xen/xend/server/pciif.py b/tools/python/xen/xend/server/pciif.py index ba18243acd..c660ba6cd5 100644 --- a/tools/python/xen/xend/server/pciif.py +++ b/tools/python/xen/xend/server/pciif.py @@ -540,7 +540,7 @@ class PciController(DevController): # In HVM case, I/O resources are disabled in ioemu. self.cleanupOneDevice(domain, bus, slot, func) # Remove xenstore nodes. - list = ['dev', 'vdev', 'state', 'uuid'] + list = ['dev', 'vdev', 'state', 'uuid', 'vslot'] if self.readBackend(devid, 'opts-%i' % i) is not None: list.append('opts') for key in list: @@ -550,7 +550,7 @@ class PciController(DevController): if new_num_devs == i + 1: continue - list = ['dev', 'vdev', 'state', 'uuid', 'opts'] + list = ['dev', 'vdev', 'state', 'uuid', 'opts', 'vslot'] for key in list: tmp = self.readBackend(devid, '%s-%i' % (key, i)) if tmp is None: